import Vue from 'vue'
import VueRouter, { RouteConfig } from 'vue-router'
import Button from '@/components/Button.vue'
import Inputx from '@/views/Inputx.vue';
import Colx from '@/views/Colx.vue'
import Layoutx from '@/views/Layoutx.vue'
import Toastx from '@/views/Toastx.vue'
import Tabsx from '@/views/Tabsx.vue'
import Collapsex from '@/views/Collapsex.vue'


Vue.use(VueRouter)

const routes: Array<RouteConfig> = [
  {
    path: '/',
    redirect:'/Inputx'
  },
  {
    path: '/Button',
    component:Button
  },
  {
    path:'/Inputx',
    component:Inputx
  },
  {
    path:'/Colx',
    component:Colx
  },
  {
    path:'/Layoutx',
    component:Layoutx
  },
  {
    path:'/Toastx',
    component:Toastx
  },
  {
    path:'/Tabsx',
    component:Tabsx
  },
  {
    path:'/Collapsex',
    component:Collapsex
  }


]
const router = new VueRouter({
  routes
});

export default router